from channels.auth import AuthMiddlewareStack
from channels.routing import ProtocolTypeRouter, URLRouter

import mini_api.routing
# import miniprogram_rpa.routing

application = ProtocolTypeRouter({
    'websocket': AuthMiddlewareStack(
            URLRouter(
                mini_api.routing.websocket_urlpatterns
            )
        ),
})